/*
 * @lc app=leetcode.cn id=389 lang=csharp
 *
 * [389] 找不同
 */

// @lc code=start
public class Solution {
    public char FindTheDifference(string s, string t) {
        int ret = 0;
        foreach (var c in s)
        {
            ret ^= c;
        }
        foreach (var c in t)
        {
            ret ^= c;
        }
        return (char)ret;
    }
}
// @lc code=end

